package com.yvon.service.demo.spring.context;

import java.util.EventObject;

/**
 * 具备事件功能的抽象类
 * 后续所有事件的类都需要继承这个类
 *
 * @author yvon
 * @since 2022-12-29
 */
public abstract class ApplicationEvent extends EventObject {

    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public ApplicationEvent(Object source) {
        super(source);
    }
}
